import type { RouteRecordRaw } from 'vue-router';
import RouterView from '@/layout/routerView/index.vue';

const routes: RouteRecordRaw[] = [
  {
    path: 'smartReminders',
    name: 'smartReminders',
    component: RouterView,
    meta: {
      title: '智能提醒',
      icon: 'icon-lingdang',
    },
    children: [
      {
        path: 'recordOfOperations',
        name: 'recordOfOperations',
        component: () => import('../pages/record-of-operations/record-of-operations.vue'),
        meta: {
          title: '操作记录',
        },
      },
      {
        path: 'smartRemindersDetail',
        name: 'smartRemindersDetail',
        component: () => import('../pages/smart-reminders/smart-reminders.vue'),
        meta: {
          title: '智能提醒',
        },
      },
    ],
  },
];

export default routes;
